﻿using System;
namespace He.Model
{
	/// <summary>
	/// ad:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class ad
	{
		public ad()
		{}
		#region Model
		private int _id;
		private string _title;
		private string _img_url="";
		private string _link_url="";
		private int _is_red=0;
		private int _sort_id=0;
		private int _position_id;
		private int _is_protected=0;
		private string _attr_str="";
		private string _attr_str2="";
		private int _attr_num=0;
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string title
		{
			set{ _title=value;}
			get{return _title;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string img_url
		{
			set{ _img_url=value;}
			get{return _img_url;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string link_url
		{
			set{ _link_url=value;}
			get{return _link_url;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int is_red
		{
			set{ _is_red=value;}
			get{return _is_red;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int sort_id
		{
			set{ _sort_id=value;}
			get{return _sort_id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int position_id
		{
			set{ _position_id=value;}
			get{return _position_id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int is_protected
		{
			set{ _is_protected=value;}
			get{return _is_protected;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string attr_str
		{
			set{ _attr_str=value;}
			get{return _attr_str;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string attr_str2
		{
			set{ _attr_str2=value;}
			get{return _attr_str2;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int attr_num
		{
			set{ _attr_num=value;}
			get{return _attr_num;}
		}
		#endregion Model

	}
}

